package cc.comac.mom.api;

import java.util.List;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import cc.comac.mom.bean.EquipRegularCheckWorkOrder;
import cc.comac.mom.bean.EquipRegularCheckWorkOrderBean;
import cc.comac.mom.util.ResultBean;

@FeignClient(name = "mom-equipment-mgmt-srv")
public interface EquipRegularCheckWorkOrderService {
	
	@RequestMapping(value = "/p/cs/EquipRegularCheckWorkOrderService/insertBatch",method = RequestMethod.POST)
	public ResultBean insertBatch(@RequestBody List<EquipRegularCheckWorkOrder> list);
	
	@RequestMapping(value = "/p/cs/EquipRegularCheckWorkOrderService/selectByFields",method = RequestMethod.POST)
	public ResultBean selectByFields(@RequestBody EquipRegularCheckWorkOrderBean obj);
	
	@RequestMapping(value = "/p/cs/EquipRegularCheckWorkOrderService/adjustDate",method = RequestMethod.POST)
	public ResultBean adjustDate(@RequestBody EquipRegularCheckWorkOrder obj);
	
	@RequestMapping(value = "/p/cs/EquipRegularCheckWorkOrderService/updateExecuteTime",method = RequestMethod.POST)
	public ResultBean updateExecuteTime(@RequestBody EquipRegularCheckWorkOrder obj);
	
	@RequestMapping(value = "/p/cs/EquipRegularCheckWorkOrderService/planStartExecute",method = RequestMethod.POST)
	public ResultBean planStartExecute(@RequestBody EquipRegularCheckWorkOrder obj);
	
	@RequestMapping(value = "/p/cs/EquipRegularCheckWorkOrderService/deleteBatch",method = RequestMethod.POST)
	public ResultBean deleteBatch(@RequestBody List<Long> ids);
}
